package com.example.application.config;

import com.example.application.pojo.Person;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import(MyConfig2.class)
public class MyConfig {

    @Bean
    public Person person(){
        return new Person(12,"张三");
    }
}
